package com.sc.nft.service;

import com.sc.nft.entity.UserInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.vo.*;
import com.sc.nft.exception.GlobalException;

import java.util.HashMap;
import java.util.List;

public interface IntegralExchangeService {
    //查看用户积分
    FindIntegralVO findIntegral();
    //积分兑换列表
    Page<IntegralExchangeProductVO> getIntegralExchangeList(Integer pageNo, Integer pageSize);
    //积分兑换的藏品详情
    IntegralProductDetailsVO getIntegralProductDetails(Long productId);
    //积分兑换的盲盒详情
    IntegralBoxDetailsVO getIntegralBlindBoxDetails(Long productId);
    //兑换商品
    void integralExchange( Long productId) throws GlobalException;
    //积分兑换记录
    List<UserExchangeRecordVo> getUserExchangeRecord();
}
